﻿Public Class NhaCungCapBL
    Private nccDA As NhaCungCapDA

    Public Sub New()
        nccDA = New NhaCungCapDA
    End Sub

    Public Function GetData(ByVal dieukien As String) As List(Of NhaCungCapDT)
        Return nccDA.GetData(dieukien)
    End Function

    Public Function InUp(ByVal ncc As NhaCungCapDT, ByVal flag As Boolean) As Boolean
        Return nccDA.InUp(ncc, flag)
    End Function

    Public Function Delete(ByVal ncc As NhaCungCapDT)
        Return nccDA.Delete(ncc)
    End Function

    Public Function GetID()
        Return nccDA.GetID()
    End Function

    Public Function GetInserted()
        Return nccDA.GetInserted()
    End Function
End Class
